﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MslDiary.Model
{
    public class A_Annex
    {
        /// <summary>
        /// 唯一编码
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 显示名称
        /// </summary>
        public string ShowName { get; set; }
        /// <summary>
        /// 后缀
        /// </summary>
        public string Suffix { get; set; }
        /// <summary>
        /// 文件类型
        /// </summary>
        public string FileType { get; set; }
        /// <summary>
        /// 来源表名
        /// </summary>
        public string FromTable { get; set; }
        /// <summary>
        /// 来源字段
        /// </summary>
        public string FromField { get; set; }
        /// <summary>
        /// 来源表Id
        /// </summary>
        public int FromRecordId { get; set; }
        /// <summary>
        /// 文件大小 KB
        /// </summary>
        public long FileSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Width { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Height { get; set; }
        /// <summary>
        /// 二进制文本内容
        /// </summary>
        public byte[] Content { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? ModifyDate { get; set; }
    }
}
